package org.ianaz.chessfx.logic;

import javafx.scene.paint.Color;


/**
 *
 * @author s.rainoldi
 */
public class Player {
    private Color color;
    private String colorString;
    private int multiplier = -1; // -1 is the top player, used to calc in which direction should the figures walk
    
    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
        if(color == Color.WHITE){
            colorString = "WHITE";
        }
        else {
            colorString = "BLACK";
        }
    }

    public String getColorString() {
        return colorString;
    }

    public void setColorString(String colorString) {
        this.colorString = colorString;
    }

    public int getMultiplier() {
        return multiplier;
    }

    public void setMultiplier(int multiplier) {
        this.multiplier = multiplier;
    }
    
}
